package com.smartleanx.module.hrm.controller.admin.memorandum.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDate;
import java.util.*;
import javax.validation.constraints.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 备忘录新增/修改 Request VO")
@Data
public class MemorandumSaveReqVO {

    @Schema(description = "主键id", requiredMode = Schema.RequiredMode.REQUIRED, example = "28628")
    private Long id;

    @Schema(description = "备忘事件", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "备忘事件不能为空")
    private String memos;

    @Schema(description = "备忘时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "备忘时间不能为空")
    private LocalDate memosDate;

}
